#include "B.h"
#include <cstring>
#include <iostream>

extern "C" B_API int B3(char* buff) {
    std::cout << "    B3 called with: " << buff << std::endl;
    return 0;
}

extern "C" B_API int B4(char* buff) {
    std::cout << "    B4 called with: " << buff << std::endl;
    strcpy(buff, "hello world from B4 function in B.dll, i'm B");
    return 0;
}